<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<script>
			// 可以提高性能
			(function(w){
				var name=1;
				var sex="女";
				document.write(name);
				function get1(){
					return name;
				}
				var itcast={
					name:name,
					sex:sex,
					get1:get1,
					on:function(){
						alert("你很帅");
					}
				}
				w.$$=itcast;
			})(window)
			
			$$.on();
		</script>
	</body>
</html>
